<?php 
	$html->css("userSettings", null, array("inline"=>false));
	$html->script("addBlog",false); 
?>
<div id="setting">
	<?php echo $form->create('Blog',array('action'=>'add')); ?>
	<h2>Create a new blog</h2>
	<fieldset>
		<legend>User Settings Form</legend>
		<table>
			<tr>
				<th>Title</th>
				<td>
					<?php echo $form->input('Title'); ?>							
				</td>
			</tr>
			<tr>
				<th>URL</th>
				<td>
					<?php echo $form->input('url'); ?>
				</td>
			</tr>
			<tr>
				<th>Password</th>
				<td>
					<?php
						$options = array(1 => 'protect your blog');
						echo $form->input('use password', array('multiple' => 'checkbox', 'options' => $options));
						echo $form->input('password'); 
					?>
				</td>
			</tr>
		</table>
		<?php echo $form->end('Create Blog') ?>
	</fieldset>
</div>